package cc.ruih.meizanchen.bb;

import cc.ruih.meizanchen.R;
import cc.ruih.meizanchen.Setting;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;
import android.widget.TextView;

/**
 * 宝宝版首页
 * @author 郭瑞坡
 *
 */
public class BBIndex extends Activity{

	ImageButton setBtn;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.bb_index);
		//TextView title = (TextView) findViewById(R.id.headTitle);
		//title.setVisibility(View.GONE);
		
		setBtn = (ImageButton) findViewById(R.id.setting);
		setBtn.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent();
				intent.setClass(BBIndex.this, Setting.class);	// 跳转到设置页面
				startActivity(intent);
			}
		});
	}
	
}
